<template>
	<div class='container'>
		<h2>defineModel</h2>
		父组件：{{ msg }}
		<div>
			<Child v-model="msg"></Child>
		</div>
	</div>
</template>

<script setup>
import Child from './Child.vue'
import { ref } from 'vue'
const msg = ref('')
</script>
<style lang='less' scoped>
  .container{}  
</style>
